import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'


import vant from 'vant'
import 'vant/lib/index.css'

import axios from './axios/axiosConfig';
//挂载全局
import './mock'


const app = createApp(App)
//将axios挂载到app这个实例上
app.config.globalProperties.$http = axios;
//vant的挂载实例
app.use(store).use(router).use(vant).mount('#app')

